package com.tiancheng.trade.payment.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import jakarta.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @Auther: liudong
 * @Date: 2024/3/20 13:43
 * @Param ${tags}
 * @Description:
 */
@Getter
@Setter
@ToString
public class PayVerificationNotifyBO {
	@NotNull
	private String flowId; //支付流水号

	@NotNull
	private int verifiedAmount; //核销金额

	@NotNull
	private Long subOrderId; //子订单号

	private Long verificationId;

	private Long orderId;

	private String paymentId;

	@NotNull
	private String userId; //用户id

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime verifiedTime;
}
